#include "ServerExData.h"
#include "IObject/IServerManager.h"
#include "Common/define.h"
#include "IObject/IObject.h"

ServerExData::ServerExData(void)
{
}

ServerExData::~ServerExData(void)
{
}

bool ServerExData::ConnectorOpen( ACE_INET_Addr& addr )
{
	OUR_DEBUG((LM_ERROR, "[ServerExData::%s:%d]\n",__FUNCTION__, __LINE__));
	
	return true;
}

bool ServerExData::AcceptorOpen( uint32 u2ConnectorID )
{
	OUR_DEBUG((LM_ERROR, "[ServerExData::%s:%d]\n",__FUNCTION__, __LINE__));
	_ClientIPInfo ipinfo = GetServerManager()->GetConnectManager()->GetClientIPInfo(u2ConnectorID);
	return true;
}

bool ServerExData::ConnectorClose( ACE_INET_Addr& addr )
{
	OUR_DEBUG((LM_ERROR, "[ServerExData::%s:%d]\n",__FUNCTION__, __LINE__));
	return true;
}

bool ServerExData::AcceptorClose( uint32 u2ConnectorID )
{
	OUR_DEBUG((LM_ERROR, "[ServerExData::%s:%d]\n",__FUNCTION__, __LINE__));
	_ClientIPInfo ipinfo = GetServerManager()->GetConnectManager()->GetClientIPInfo(u2ConnectorID);
	return true;
}

bool ServerExData::PutMessage( IPacketParse* pMessage )
{
	OUR_DEBUG((LM_ERROR, "[ServerExData::%s:%d]\n",__FUNCTION__, __LINE__));
	return true;
}
